package com.nsl.my_youlai.bbu2.model.bo.bbu.rules;

import com.nsl.my_youlai.bbu2.enums.BoardTypeEnum;
import com.nsl.my_youlai.bbu2.enums.NetGenerationEnum;
import com.nsl.my_youlai.bbu2.enums.VendorEnum2;
import com.nsl.my_youlai.bbu2.model.bo.bbu.rules.BbuBaseSlotRules;
import lombok.Data;

@Data
public class BbuZx4gB8200SlotRules extends BbuBaseSlotRules {

    public BbuZx4gB8200SlotRules() {
        super( VendorEnum2.ZHONG_XING,
                1,
                new NetGenerationEnum[]{NetGenerationEnum.G4},
                "3,4,5,6,7,8",
                "1,2",
                "14,15"
        );
        this.getBbuSlotRuleMap().get(3).getBoardTypeEnumList().add(BoardTypeEnum.SWITCH_BOARD);
        //this.getBbuSlotRuleMap().get(4).getBoardTypeEnumList().add(BoardTypeEnum.SWITCH_BOARD);

    }

    public BbuZx4gB8200SlotRules(VendorEnum2 vendorEnum,
                                 int size,
                                 NetGenerationEnum[] netGenerationEnums,
                                 String baseBoardSlots,
                                 String controlBoardSlots,
                                 String powerBoardSlots) {
        super(vendorEnum, size, netGenerationEnums, baseBoardSlots, controlBoardSlots, powerBoardSlots);
    }
}
